import 'dart:convert';

import 'AgreementBeanEntity.dart';
import 'AuthNotice.dart';

AgreementContainEntity agreementContainEntityFromJson(String str) =>
    AgreementContainEntity.fromJson(json.decode(str));

class AgreementContainEntity {
  AgreementBeanEntity ystk;
  AgreementBeanEntity useryx;
  AgreementBeanEntity mzsm;
  AuthNotice authNotice;

  AgreementContainEntity({
    required this.ystk,
    required this.useryx,
    required this.mzsm,
    required this.authNotice,
  });

  factory AgreementContainEntity.fromJson(Map<String, dynamic> json) =>
      AgreementContainEntity(
        ystk: AgreementBeanEntity.fromJson(json["ystk"]),
        useryx: AgreementBeanEntity.fromJson(json["useryx"]),
        mzsm: AgreementBeanEntity.fromJson(json["mzsm"]),
        authNotice: AuthNotice.fromJson(json["auth_notice"]),
      );
}
